﻿namespace FiftyOne.Foundation.Mobile.Detection.Wurfl.Handlers
{
    using System;

    internal class PalmHandler : EditDistanceHandler
    {
        private const int CONFIDENCE = 7;

        protected internal override bool CanHandle(string userAgent)
        {
            return (userAgent.Contains("Palm") && userAgent.Contains("webOS"));
        }

        internal override byte Confidence
        {
            get
            {
                return 7;
            }
        }
    }
}

